﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _3._3._5_方法1
{
    internal class Program
    {
        static void Main(string[] args)
        {
            Class1 class1 = new Class1();
           

            Rectangle rectangle1 = new Rectangle();
            rectangle1.Width = 10;
            rectangle1.Height = 10;

            Rectangle rectangle2 = new Rectangle();
            rectangle2.Width = 10;  
            rectangle2.Height = 20;

            var aaa = class1.IsSquare(rectangle1);
            var bbb = class1.IsSquare(rectangle2);

            var ccc = class1.IsCircle(rectangle1);
            var ddd = class1.IsCircle(rectangle2);

            

            Console.WriteLine("rectangle1 Is Square:" + aaa);
            Console.WriteLine("rectangle2 Is Square:" + bbb);


            Console.WriteLine("rectangle1 Is Circle:" + ccc);
            Console.WriteLine("rectangle2 Is Circle:" + ddd);

            Console.ReadLine();

        }
    }
}
